import request from '@/utils/request'

// 查询商户列表
export function searchCW(query) {
  return request({
    url: '/finace/searchCW',
    method: 'get',
    params: query
  })
}

export function getFee(query) {
  return request({
    url: '/finace/getFee',
    method: 'get',
    params: query
  })
}

export function getOutFee(query) {
  return request({
    url: '/finace/getOutFee',
    method: 'get',
    params: query
  })
}

export function getAllFzFee(query) {
  return request({
    url: '/finace/getAllFzFee',
    method: 'post',
    data: query
  })
}

export function getFzFee(query) {
  return request({
    url: '/finace/getFzFee',
    method: 'get',
    params: query
  })
}

export function getFuKuan(query) {
  return request({
    url: '/finace/getFuKuan',
    method: 'post',
    data: query
  })
}

export function saveFuKuanPlan(data) {
  return request({
    url: '/finace/saveFuKuanPlan',
    method: 'post',
    data: data
  })
}
//选中操作 获取
export function toupdate(query) {
  return request({
    url: '/finace/toUpdate',
    method: 'post',
    data: query
  })
}
export function searchSfAll(query) {
  return request({
    url: '/finace/searchSfAll',
    method: 'post',
    data: query
  })
}
